package mortal.game.model
{
	import Message.Db.Tables.*;
	import Message.Public.*;
	import mortal.game.resource.*;
	import mortal.game.scene.player.info.*;
	
	public class NPCInfo extends ModelInfo
	{
		private var _snpc:SNpc;
		private var _tnpc:TNpc;
		private var _taskStatus:int = -1;
		
		public function NPCInfo()
		{
			
		}
		
		public function get tnpc() : TNpc
		{
			return this._tnpc;
		}
		
		public function get snpc() : SNpc
		{
			return this._snpc;
		}
		
		public function set snpc(param1:SNpc) : void
		{
			this._taskStatus = -1;
			this._snpc = param1;
			this._tnpc = NPCConfig.instance.getInfoByCode(this._snpc.npcId);
			
		}
		
		public function set taskStatus(param1:int) : void
		{
			this._taskStatus = param1;
			
		}
		
		public function get taskStatus() : int
		{
			return this._taskStatus;
		}
		
	}
}
